$OpenBSD: patch-configure,v 1.3 2012/08/23 17:51:22 ajacoutot Exp $
--- configure.orig	Wed Jul 14 00:48:24 2010
+++ configure	Wed Nov  3 12:20:34 2010
@@ -4875,6 +4875,16 @@ $as_echo "$am_cv_python_pyexecdir" >&6; }
   fi
 
 
+# Check whether --enable-python was given.
+if test "${enable_python+set}" = set; then
+  enableval=$enable_python; try_python="$enableval"
+else
+  try_python="yes"
+fi
+
+if test x"$try_python" = xyes ; then
+
+
 ac_python=yes
 if test "x$PYTHON" = "x"; then
 	# Extract the first word of "python", so it can be a program name with args.
@@ -4953,6 +4963,7 @@ $as_echo "$PYTHON, $PYTHON_VERSION, $PYTHON_PREFIX" >&
 	CPPFLAGS="$CPPFLAGS $PYTHON_CFLAGS"
 	CXXFLAGS="$CXXFLAGS $PYTHON_CFLAGS"
 
+fi
 
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
